Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

VIDCS-4026 sender stats - #237

Open
aos-svg wants to merge 9 commits into
mainfrom
VIDCS-4026-sender-stats
Open

VIDCS-4026 sender stats#237
aos-svg wants to merge 9 commits into
mainfrom
VIDCS-4026-sender-stats

Conversation

@aos-svg

@aos-svg aos-svg commented Aug 28, 2025

Copy link
Copy Markdown
Collaborator

https://jira.vonage.com/browse/VIDCS-4026

Added a sample app for users to interact with sender stats api. The environment i had to use was local dev hence the local podspec etc. ( changes werent merged yet )

@juliobecerragomez juliobecerragomez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very good!

* to capture information about sender stats as follows
*/
func subscriber(_ subscriber: OTSubscriberKit, videoNetworkStatsUpdated stats: OTSubscriberKitVideoNetworkStats) {
guard let senderStats = stats.senderStats else { return }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit. If there’s another iteration in this PR, it might be worth adding a comment here noting that stats could still be nil due to network issues or latency, even if the publisher’s sender stats track is enabled.

@juliobecerragomez juliobecerragomez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@joliveraortega

Copy link
Copy Markdown
Contributor

@aos-svg Thanks for this contribution. We cannot merge this in until the feature is our as part of 2.32.0 which should happen early next quarter (Q4).

@VZaphod VZaphod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but the stats.senderStats is always null and I feel that may be better to receive the stats in a background thread but that is an SDK story.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants